//
//  FSNewSendDetailCell.m
//  WZSOA
//
//  Created by 刘沿 on 16/6/8.
//  Copyright © 2016年 刘沿. All rights reserved.
//

#import "FSNewSendDetailCell.h"

@implementation FSNewSendDetailCell

+(instancetype)cellWihtTableView:(UITableView*)tableView{
    NSString * cellIdentifier = @"cellIdentifier";
    FSNewSendDetailCell * cell = [tableView dequeueReusableCellWithIdentifier:cellIdentifier];
    if (cell == nil) {
        cell = [[[NSBundle mainBundle] loadNibNamed:@"FSNewSendDetailCell" owner:nil options:nil] lastObject];
        cell.selectionStyle = UITableViewCellSelectionStyleNone;
    }
    
    return cell;
    
}


-(void)setAllString:(NSString *)allString{
    _allString = allString;
    
    NSArray * tempArray = [allString componentsSeparatedByString:@"##"];
    self.titleLabel.text = [NSString stringWithFormat:@"%@:",tempArray.firstObject];
    if ([tempArray.lastObject isEqualToString:@"null"]) {
        self.desLabel.text = @"";
    }else{
        self.desLabel.text = tempArray.lastObject;
    }
    
}







@end
